package com.zretc.entity;

import org.springframework.stereotype.Component;

@Component
public class Admin {
    //管理员id
    private String adminId;
    //管理员类型。管理员类型0：影院boss，1：超级管理员
    private Integer adminType;
    //管理员密码
    private String password;

    public Admin() {
    }

    public Admin(String adminId, Integer adminType, String password) {
        this.adminId = adminId;
        this.adminType = adminType;
        this.password = password;
    }

    public String getAdminId() {
        return adminId;
    }

    public void setAdminId(String adminId) {
        this.adminId = adminId;
    }

    public Integer getAdminType() {
        return adminType;
    }

    public void setAdminType(Integer adminType) {
        this.adminType = adminType;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "adminId='" + adminId + '\'' +
                ", adminType=" + adminType +
                ", password='" + password + '\'' +
                '}';
    }
}
